package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrateCommentQueryObject;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    /**
     * 保存评论
     * @param comment
     */
    void save(StrategyComment comment);

    /**
     * 查询评论 分页
     * @param qo
     * @return
     */
    Page<StrategyComment> findByDetailId(StrateCommentQueryObject qo);

    /**
     * 点赞/取消点赞
     * @param toId
     * @param formId
     */
    void commentThumbUp(String toId,Long formId);


}
